This cookbook provides tips and techniques for CMS Administrators, Architects, and Developers working with Sitecore’s presentation components.
Click the respective link to download the whole document:
Sitecore CMS 6.4 version:
- Download the document in A4 format (PDF, 0.8 MB)
- Download the document in US letter format (PDF, 0.8 MB)
Sitecore CMS 6.2 version:
- Download the document in A4 format (PDF, 0.6 MB)
- Download the document in US letter format (PDF, 0.6 MB)
Sitecore CMS 6.1 version:
- Download the document in A4 format (PDF, 0.5 MB)
- Download the document in US letter format (PDF, 0.5 MB)
Sitecore CMS 6.0 version:
- Download the document in A4 format (PDF, 0.5 MB)
- Download the document in US letter format (PDF, 0.5 MB)
Related reading:
Table of Contents (Valid for version 6.2)
Introduction
Development Infrastructure
Requirements Analysis
Name and Path Conventions
ASP.NET
ASP.NET Tag Prefixes
ASP.NET Control Identifiers (IDs)
Code-Behind, Code-Beside, or CodeFile?
The Developer Center
How to Access the Developer Center
How to Access Recently-Used Items in the Developer Center
How to Access the Content Editor from within the Developer Center
The Developer Center Code Boilerplate Files
How to Edit the Developer Center Boilerplate Files
Microsoft Visual Studio
How to Show Visual Studio Solution Explorer
How to Show or Hide All Files in Visual Studio Solution Explorer
How to Create a Visual Studio Web Application Project
How to Add an Existing File to a Web Application Project
How to Add Sitecore Controls to the Visual Studio Toolbox
How to Debug .NET Code Using Visual Studio
How to Create a Collection of Web Service Methods
How to Optimize Visual Studio Performance
Layout Details
How to Work with Layout Details
The Device Editor
How to Open the Device Editor
How to Select a Layout
How to Add a Control
How to Order Controls
How to Remove a Control
How to Replace a Control
How to Reset Layout Details to Standard Values
How to Copy Layout Details
How to Determine Presentation Components Used
Working with Devices
How to Create a Device
How to Define Device Activation Criteria
Controls
How to View the Output of a Control
Rendering Definition Items
How to Access the Control Properties Dialog
How to Set Control Properties Using Visual Studio
Common Control Properties
How to Configure Control Caching Options
How to Configure the Data Source of a Control
How to Pass Parameters to a Control
Placeholders
Sublayouts
The FieldRenderer Web Control
XSL Renderings
How to Create an XSL Rendering
How to View the Output of an XSL Rendering
The Main XSL Template Block
The XSL Rendering Boilerplate File
Custom XSL Template Libraries
How to Create an XSL Template Library
How to Reference an XSL Template Library in an XSL Rendering
Custom XSL Extension Methods
How to Create an XSL Extension Method Library Class
How to Register a Custom XSL Extension Method Library
How to Use a .NET XSL Extension Library
How to Add Methods to the sc Namespace
How to Access Properties of an XSL Extension Class
XSL Extension Method Examples
GetHome(): Return a Sitecore.Data.Items.Item
GetRandomSiblings(): Return Multuple Values Using XML
Web Controls
How to Create a Web Control Class
How to Register a Web Control
How to Add a Property to a Web Control
Method Renderings
How to Create a Method Rendering Class and Method
How to Register a Method Rendering
URL Renderings
How to Register a URL Rendering
How to Implement a Rendering Settings Data Template
Layouts and Sublayouts
Create a Layout
How to Create a Layout Using the Developer Center
How to Register a Web Form as a Layout
Create a Sublayout
How to Create a Sublayout in the Developer Center
How to Register a Web User Control as a Sublayout
Add a Control to a Layout or Sublayout
How to Add a Control to a Layout or Sublayout Using the Developer Center
How to Add a Control to a Layout or Sublayout Using Visual Studio
Add Code-Beside to a Layout or Sublayout
How to Add Code-Beside to a Layout or Sublayout by Deleting the Existing File
How to Add a Code-Beside file to a Layout or Sublayout by Creating Files
How to Add a Layout or Sublayout Partial Class File and Replace CodeFile with CodeBehind
RSS Features
RSS Overview
Feed Definition Items
How to Create an RSS Feed
Syndicated Items
How to Make an Item Available for Syndication
RSS Configuration
The Feeds.MaximumItemsInFeed Setting
The Feeds.ItemExpiration Setting